match x:
    case Class(<caret>):
        pass